<?
    $id=0;
    if(isset ($_GET['id'])) $id=$_GET['id'];
    $chitiet=$t->laychitietsanpham($id);
?>
<div class="m_box">
    <div class="c0">
        <div class="c1">
            <div class="c2">
                <h3 class="title"><?=$chitiet['ten_'.$lang]?></h3>
                <div class="product_detail">
                    <div class="product_detail_img">
                        <div id="wrap">
                            <a href="javascript:void(0);" title="<?=$chitiet['ten_'.$lang]?>">
                                <img width="339" height="390"  src="<?=$chitiet['url_img']?>" title="<?=$chitiet['ten_'.$lang]?>" alt='<?=$chitiet['ten_'.$lang]?>'/>
                            </a>
                        </div>
                    </div><!--end product_detail_img-->
                    <div class="product_detail_info">
                        <h3 class="name_view"><?=$chitiet['ten_'.$lang]?></h3>
                        <p class="sku_view">Mã sản phẩm: <?=$chitiet['id']?></p>
                        <div id="desc">
                            <?=$chitiet['noidung_'.$lang]?>
                        </div>
                        <p class="price_view"><?=number_format($chitiet['gia'], 0, '.', ',' ); ?> VNĐ</p>
                        <div class="c"></div>
                        <p class="order_button">
                            <a href="#" class="order" idsp="<?=$chitiet['id']?>">
                                Mua hàng
                            </a>
                        </p>
                    </div><!--end .product_detail_info-->
                    <div class="c"></div>
                </div><!--end .prodcut_detail-->

            </div><!--end .c2-->
        </div><!--end .c1-->
    </div><!--end .c0-->
</div><!--end .m_box-->
<div class="m_box">
    <div class="c0">
        <div class="c1">
            <div class="c2">
                <h3 class="title">Hoa tươi cùng loại</h3>
                <div class="list_hoa">
                    <?php for ($a = 0; $a < 4; $a++) {
 ?>
                        <div class="item_hoa">
                            <div class="image">
                                <a href="#">
                                    <img alt="hpa" src="images/hoa<?php echo $a + 1 ?>.jpg" />
                                </a>
                            </div>
                            <div class="subject">
                                <span>
                                    <a href="#">Hoa tươi 14/2 ý nghĩa</a>
                                </span>
                            </div>
                            <div class="price">480,00 VNĐ</div>
                            <div class="tools">
                                <a href="#">Chi tiết</a>
                            </div>
                        </div>
<?php } ?>
                    <div class="c"></div>
                </div><!--end .list_hoa-->
            </div><!--end .c2-->
        </div><!--end .c1-->
    </div><!--end .c0-->
</div><!--end .m_box-->